package com.saxon.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@RestController
public class Ajax {
    @RequestMapping("/saxon")
    public String check(String userName){
        if (userName.equals ("saxon")){
            return "true";
        }else {
            return "false";
        }

    }
}
